home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 108_01 / clock.h < prev    next >
Text File  |  1985-11-13  |  1KB  |  19 lines

  1. #define CLOCK    32        /* Base port for Mountain Hardware clock */
  2. #define USEC100    CLOCK        /* Hundreds of microseconds digit port */
  3. #define MSEC1    CLOCK+1        /* Unit milliseconds digit port */
  4. #define MSEC10    CLOCK+2        /* Tens of milliseconds digit port */
  5. #define MSEC100    CLOCK+3        /* Hundreds of milliseconds digit port */
  6. #define SEC1    CLOCK+4        /* Unit seconds digit port */
  7. #define SEC10    CLOCK+5        /* Tens of seconds digit port */
  8. #define MIN1    CLOCK+6        /* Unit miniutes digit port */
  9. #define MIN10    CLOCK+7        /* Tens of minutes digit port */
  10. #define HOUR1    CLOCK+8        /* Unit hours digit port */
  11. #define HOUR10    CLOCK+9        /* Tens of hours digit port */
  12. #define DAY1    CLOCK+10    /* Unit days digit port */
  13. #define DAY10    CLOCK+11    /* Tens of days digit port */
  14. #define DAY100    CLOCK+12    /* Hundreds of days digit port */
  15. #define DAY1K    CLOCK+13    /* Thousands of days digit port */
  16. #define DAY10K    CLOCK+14    /* Ten of thousands of days digit port */
  17. #define CINTER    CLOCK+15    /* Interupt set port */
  18. #define MASK    0X000F        /* Digit bit mask, lower 4 bits BDC digit */
  19.